package com.xc.test.mapperTest;

import com.xc.infrastructure.persistent.dao.IAwardDao;
import com.xc.infrastructure.persistent.po.Award;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author xucheng
 * @Date 2024/3/26 19:57
 * @Version 1.0
 */
@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class AwardDaoTest {
    @Resource
    private IAwardDao iAwardDao;
    @Test
    public void testAwardDao(){
        List<Award> awards = iAwardDao.queryAwardList();

        log.info(" find awards: {} ", awards);
    }
}
